﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>系统设置</title>
    <link href="/edo/res/css/edo-all.css" rel="stylesheet" type="text/css" />
    <link href="/clientCss/base.css" rel="stylesheet" type="text/css" />
    <script src="/edo/edo.js" type="text/javascript"></script>
    <script src="/Scripts/jquery.min.js" type="text/javascript"></script>
</head>
<body>
    <script type="text/javascript" language="javascript">
        var employeeData = new Edo.data.DataTable().set('data', Employees);
        Edo.build({
            type: 'app', render: document.body, width: '100%', height: '100%', layout: 'vertical', border: 0,
            children: [
                {
                    type: 'box',
                    width: '100%',
                    height: '60',
                    border: [0, 0, 1, 0],
                    layout: 'absolute',
                    children: [
                        {
                            type: 'formitem',
                            label: '改价时限:',
                            labelWidth: 60,
                            top: 20,
                            left: 20,
                            children: [
                                {
                                    type: 'spinner',
                                    id: 'spinner'
                                }
                            ]
                        }
                            , {
                                type: "label",
                                text: '分钟',
                                top: 20,
                                left: 185
                            }
                            , {
                                type: "button",
                                id: "timeBtn",
                                width: "60",
                                height: "22",
                                text: '确定',
                                top: 20,
                                left: 260
                            }
                    ]
                }
                , {
                    type: 'box',
                    width: '100%',
                    height: '100%',
                    border: [0, 0, 1, 0],
                    layout: 'vertical',
                    children: [{
                        type: "Table",
                        width: '100%',
                        height: '100%',
                        autoColumns: true,
                        enableStripe: true,
                        columns: [
                            {
                                header: '姓名',         //表头列显示的文本内容
                                headerAlign: 'center',  //表头列内容定位:left/center/right
                                dataIndex: 'name',      //单元格映射的行对象属性
                                width:  100,            //列的宽度
                                minWidth: 50,           //列的最小宽度
                                renderer: function(value, record, column, rowIndex, data, table){                    
                                    //value: 单元格值。对应row[dataIndex]
                                    //record:  行对象。是data对象的一个元素
                                    //column: 列对象。就是具有"header、headerAlign、dataIndex..."的列对象。
                                    //rowIndex: 行索引号
                                    //data: 表格的数据对象Edo.data.Table
                                    //table: 表格对象Edo.lists.Table
                    
                                    return "";  //返回此单元格显示的HTML内容(一般根据value和row的内容进行组织)
                                },
                            }
                        ]
                    }]
                }
            ]
        });
//        {
//            type: 'formitem',
//            label: '姓名:',
//            labelWidth: 60,
//            style: 'background:#ccc',
//            render: document.body,
//            children: [
//            {
//                type: 'text'
//            }]
//        },
//        {
//            type: 'formitem',
//            label: 'ddd:',
//            labelWidth: 60,
//            
//            render: document.body,
//            children: [
//            {
//                type: 'text'
//            }]
//        });
    </script>
</body>
</html>
